<template>
    <div class="modal-container">
    <div class="modal">
      <span class="icon"></span>

      <p class="tip">本场次暂未开放售票</p>

        <div class="ok-btn btn" @click="handlerOverTime">我知道了</div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'TtmsIndex',

  data () {
    return {

    }
  },
  props: {
    mId: {
      type: Number,
      default: 0
    }
  },

  mounted () {

  },

  methods: {
    handlerOverTime () {
      this.$router.push({ name: 'plan', query: { movieId: this.mId } })
    }
  }
}
</script>

<style lang="scss" scoped>
.modal-container {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    background-color: rgba(0,0,0,.4);
}
.modal-container .modal {
    width: 460px;
    height: 155px;
    padding: 30px 0;
    position: absolute;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #fff;
    text-align: center;
}
.modal-container .icon {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: url() no-repeat;
}
.modal-container .tip {
    font-size: 14px;
    color: #666;
    margin-bottom: 26px;
    margin-top: 12px;
}
.modal-container .ok-btn {
    color: #fff;
    background-color: #f03d37;
    -webkit-box-shadow: 0 2px 10px -2px #f03d37;
    box-shadow: 0 2px 10px -2px #f03d37;
}
.modal-container .btn {
    border-radius: 100px;
    height: 42px;
    line-height: 42px;
    font-size: 16px;
    width: 260px;
    padding: 0;
    cursor: default;
}
.btn {
    display: inline-block;
    padding: 2px 15px;
    line-height: 25px;
    font-size: 15px;
    color: #fff;
    background-color: #df2d2d;
}
</style>
